package com.zsgeek.wisdchain.qutu.tools;

import android.os.Environment;

/**
 * 接口路径
 *
 * @author 王亨彬
 * @date 2018/10/5
 * email：793325917@qq.com
 */
public class UrlPathHelper {
    public static String appPubHost = "http://47.89.9.236:9095/"; //APP服务器地址
    public static String PackageNames = "com.zsgeek.wisdchain.qutu";
    public static String PATH_ROOT = Environment.getExternalStorageDirectory().getAbsolutePath() + "/QuTu";    //主路径
    public static String PATH_LOG_INFO = PATH_ROOT + "/logCatch/QuTu.log";//程序所有log日志可打印
    public static String PATH_ERROR_FILE = PATH_ROOT + "/log/QuTu_Error.log"; //程序崩溃错误报告文件
    public static String PATH_APK = PATH_ROOT + "/apk/";        //下载apk
    public static String PATH_IMAGE = PATH_ROOT + "/image/";    //图片路径
    public static String PATH_Address = PATH_ROOT + "/address";    //图片路径

//    /**
//     * @param type 1 :生产环境     2:测试环境      3:本地环境
//     */
//    public static void setLocalhost(int type) {
//    }

//    public static String getBaseHost() {
//        return appPubHost;
//    }

    public static String getLocalhost() {
        return appPubHost + "wisechain/";
    }

    public static String getAdver() {
        return appPubHost + "adver/";
    }

    public static String getUser() {
        return appPubHost + "user/";
    }

    public static String walletPubHost = "http://blocknode.hkcyb.pro/"; //公司全节点服务器

    public static String getBaseWalletHost() {
        return walletPubHost;
    }

}
